<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<h1>1.1 通过location对象实现A跳转到B,B到C。</h1>
		<button id="b_dump">跳转B</button>
		
		
		<h1>1.3 三个页面分别设置三个按钮，实现页面刷新功能</h1>
		<button id="b_flush">刷新</button>
	</body>
	<script>
		
		function dumpPage() {
			location.href="B.html";
		}
		document.getElementById("b_dump").onclick =dumpPage;
	
		function flushPage() {
			location.reload();
		}
		document.getElementById("b_flush").onclick =flushPage;
	</script>
</html>
